package com.aidong.stadium.entity;

import java.io.Serializable;
import java.text.DecimalFormat;

public class MstCourseSchedule implements Serializable {
	private static final long serialVersionUID = 7041786953104139207L;
	private String courseName;
	private String address;
	private String coordinate;
	private double price;
	private int autoId;
	private String startTime;
	private String endTime;
	private int alreadyPerson;
	private int allowPerson;
	private int courseId;
	private String classTime;
	private String storeName;

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCoordinate() {
		return coordinate;
	}

	public void setCoordinate(String coordinate) {
		this.coordinate = coordinate;
	}

	public String getPrice() {
		if(price==0){
			return "0";
		}
		return  new DecimalFormat("#0.00").format(price);
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getAutoId() {
		return autoId;
	}

	public void setAutoId(int autoId) {
		this.autoId = autoId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public int getAlreadyPerson() {
		return alreadyPerson;
	}

	public void setAlreadyPerson(int alreadyPerson) {
		this.alreadyPerson = alreadyPerson;
	}

	public int getAllowPerson() {
		return allowPerson;
	}

	public void setAllowPerson(int allowPerson) {
		this.allowPerson = allowPerson;
	}

	public int getCourseId() {
		return courseId;
	}

	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}

	public String getClassTime() {
		return classTime;
	}

	public void setClassTime(String classTime) {
		this.classTime = classTime;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}
	
}
